package com.qfmy.model.vo.novel;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * @author 清风明月
 * @Package com.qfmy.web.app.vo.novel
 * @date 2025/10/31
 * @description 评论回复对象
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class CommentRepliesVo {

     @Schema(description = "子评论ID（主键）")
     private Integer replyId;

     @Schema(description = "父评论ID（关联主评论表 novel_comments 的 comment_id）")
     private Integer parentCommentId;

     @Schema(description = "回复用户ID")
     private Integer userId;

     @Schema(description = "回复用户昵称")
     private String username;

     @Schema(description = "回复用户头像URL")
     private String avatar;

     @Schema(description = "回复内容（不可为空）")
     private String content;

     @Schema(description = "回复时间（默认当前时间，不可为空）")
     private Date replyTime;

     @Schema(description = "用户是否点赞")
     private Boolean isLiked;

}
